


export const data = {
    namespaced:true,
    state:()=>({
        username:"zkl",
        count:2020
    }),         // 模块的 state 已经是函数 
    mutations:{
        changeUsername(state,payload){
            state.username = payload;
        }
    },
    getters:{

    },
    actions:{

    }
}